﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Universum.Model.Domain.MyClasses;
using Universum.Model.Domain;

namespace Universum.Infrastructure.Persistence.Queries.MyClasses
{
	public class SubmissionByLabWorkArticleId:
		IDomainQuery<LabWorkSubmission>

	{
		public SubmissionByLabWorkArticleId(Guid id)
		{
			Expression = it => it.LabWorkArticleId == id;
		}
		#region IDomainQuery<LabWorkSubmission> Members

		public System.Linq.Expressions.Expression<Func<LabWorkSubmission, bool>> Expression
		{
			get;
			private set;
		}

		#endregion
	}
}
